<?php

class Beer extends SActiveRecord
{
    public static $objects;
    public $record_timestamps = true;
    
    public function validate()
    {
        $this->validate_presence_of('nom', 'Le champ %s est obligatoire');
    }
}

?>
